package com.app.domain.dto;

import lombok.Data;

/**
 * 方法调用链路追踪记录
 *
 * @author ch
 * @date 2022/12/16 19:13
 */
@Data
public class MethodInvokeTraceDto {

    private String id;
    private String className;
    private String methodName;

    private long start;

    private long end;
    private long duration;
    private Integer serialNo;
    private String parentId;

    private MethodInvokeTraceDto parent;

    @Override
    public String toString() {
        return "MethodInvokeTraceDto{" + "id='" + id + '\'' + ", className='" + className + '\'' + ", methodName='" + methodName + '\'' + ", duration=" + duration + ", serialNo=" + serialNo + ", parentId='" + parentId + '\'' + '}';
    }
}
